mui.init();
$("iframe").height($(window).height() - 44)
$(".iframe").css("display", "none")
$(".iframe").eq($(this).index()).css("display", "block")
$(".mui-control-item").on("tap", function() {
	//	alert('ddd')
	$(".iframe").css("display", "none")
	$(".iframe").eq($(this).index()).css("display", "block")
	hide()
})

function hide() {
	$.each($(".iframe"), function(a, e) {
		document.getElementsByClassName('iframe')[a].contentWindow.reduction();
		document.getElementsByClassName('iframe')[a].contentWindow.mask.close();
	})
}
$("#search").on('tap', function() {
	common.open("../teachstudy/seach.html", "../teachstudy/seach.html", "")
})
window.addEventListener('refresh', function(e) { //执行刷新
	location.reload();
});

window.addEventListener('Recommended', function(e) { //执行刷新
	location.reload();
});


//window.addEventListener('Recommendeddd', function(e) { //执行刷新
//	location.reload();
//});